package Design_patterns.creator_mode.factory.abstractFactory.factory;

import Design_patterns.creator_mode.factory.abstractFactory.coffee_package.Coffee;
import Design_patterns.creator_mode.factory.abstractFactory.coffee_package.LatteCoffee;
import Design_patterns.creator_mode.factory.abstractFactory.dessert_package.Dessert;
import Design_patterns.creator_mode.factory.abstractFactory.dessert_package.Trimisu;

/**
 * @description: 意大利风味甜品工厂  生产拿铁咖啡和提拉米苏
 **/

public class ItalyDessertFactory implements DessertFactory {
    @Override
    public Coffee createCoffee() {
        return new LatteCoffee();
    }

    @Override
    public Dessert createDessert() {
        return new Trimisu();
    }
}
